package com.dynabook.ems.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class BomDetailByNumVersionRequest {
    
    @NotBlank(message = "BOM编号不能为空")
    @ApiModelProperty(value = "BOM编号", required = true)
    private String bomNum;
    
    @NotBlank(message = "版本号不能为空")
    @ApiModelProperty(value = "版本号", required = true)
    private String version;
}